package cn.hd.commonService.enums;

import io.swagger.models.HttpMethod;

public enum MethodType {

    FIND_TYPE(HttpMethod.GET.name(),"获取") ,
    DELETE_TYPE(HttpMethod.DELETE.name(), "删除"),
    PUT_TYPE(HttpMethod.PUT.name(), "修改"),
    POST_TYPE(HttpMethod.POST.name(),"保存");

    private String type;
    private String desc;

    MethodType(String type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
